package com.platform.server.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.platform.server.service.ImageService;

@Controller
@RequestMapping("/image")
public class ImageController {
	
	@Autowired
	private ImageService imageService;
	
	/**
	 * 轮播图
	 */
	@ResponseBody
	@RequestMapping(value = "/selectImageList",method = RequestMethod.POST)
	public Object selectImageList(String type){
		return imageService.selectImageList(type);
	}
	
}
